package log;


import org.apache.logging.log4j.ThreadContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Arrays;

public class LogDemo {
    private static Logger logger = LoggerFactory.getLogger(LogDemo.class);

    public static void main(String[] args) {
            Exception exception = new Exception("Hello");
        ThreadContext.put("test","test-value");
            logger.debug("[{}]{}", "cp300010cdn000011567738408760714", "日志内容……");
//            logger.info("info", exception);
    }
}
